// import { upperLodashToCamel } from "utils/common";
import { addColumnEllipsis, dateRender } from "utils/common";
const columnWidth = 80;


let columns = [
  {
    dataIndex: "name",
    title: "称呼"
  },{
    dataIndex: "phone",
    title: "联系方式"
  },
  {
    dataIndex: "tankHeight",
    title: "高度"
  },
  {
    dataIndex: "tankLength",
    title: "长度"
  },
  {
    dataIndex: "tankWidth",
    title: "宽度"
  },
  {
    dataIndex: "tankColor",
    title: "颜色"
  },
  {
    dataIndex: "tankMaterials",
    title: "材料"
  },
  {
    dataIndex: "tankStyle",
    title: "风格"
  },
  {
    dataIndex: "fishType",
    title: "鱼缸类型"
  },
  {
    dataIndex: "createTime",
    title: "创建时间"
  },
  {
    dataIndex: "stat",
    title: "状态",
    scopedSlots: { customRender: "status" }
  },
  {
    dataIndex: "operation",
    title: "操作",
    scopedSlots: { customRender: "operation" }
    // fixed: "right"
  }
];
/* columns.map(val => {
  val.dataIndex = upperLodashToCamel(val.dataIndex);
}); */

columns = addColumnEllipsis(columns);
export default columns;
